home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Simulator•
/
Pharaoh v1.0 •••••
/
Pharaoh
/
Pharaoh.rsrc
/
CODE_5.txt
< prev
next >
Wrap
Text File
|
1988-04-23
|
4KB
|
80 lines
# near model CODE resource
# jump table entries: 744-744 (1 of them)
export_93:
00000000 4E56 FE46 link A6, -0x01BA
00000004 42A7 clr.l -[A7]
00000006 3F3C 0258 move.w -[A7], 0x258
0000000A 486E FF56 pea.l [A6 - 0xAA]
0000000E 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00000014 A97C syscall GetNewDialog
00000016 201F move.l D0, [A7]+
label00000018:
00000018 42A7 clr.l -[A7]
0000001A 486E FF54 pea.l [A6 - 0xAC]
0000001E A991 syscall ModalDialog
00000020 0C6E 0002 FF54 cmpi.w [A6 - 0xAC], 0x2
00000026 6760 beq +0x62 /* 00000088 */
00000028 0C6E 0001 FF54 cmpi.w [A6 - 0xAC], 0x1
0000002E 6656 bne +0x58 /* 00000086 */
00000030 486E FF56 pea.l [A6 - 0xAA]
00000034 3F3C 0003 move.w -[A7], 0x3
00000038 486E FE4A pea.l [A6 - 0x1B6]
0000003C 486E FE46 pea.l [A6 - 0x1BA]
00000040 486E FF4C pea.l [A6 - 0xB4]
00000044 A98D syscall GetDialogItem/GetDItem
00000046 2F2E FE46 move.l -[A7], [A6 - 0x1BA]
0000004A 486E FE4C pea.l [A6 - 0x1B4]
0000004E A990 syscall GetDialogItemText/GetIText
00000050 486E FE4C pea.l [A6 - 0x1B4]
00000054 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00000058 584F addq.w A7, 4
0000005A 486E FE4C pea.l [A6 - 0x1B4]
0000005E 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000062 584F addq.w A7, 4
00000064 4A40 tst.w D0
00000066 661C bne +0x1E /* 00000084 */
00000068 487A 0028 pea.l [PC + 0x28 /* 00000092, value 0x596F7520 'You ', cstring "You are supposed to be a guru! "... */]
0000006C 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000070 584F addq.w A7, 4
00000072 486E FF56 pea.l [A6 - 0xAA]
00000076 3F3C 0003 move.w -[A7], 0x3
0000007A 4267 clr.w -[A7]
0000007C 3F3C 7FFF move.w -[A7], 0x7FFF
00000080 A97E syscall SelectDialogItemText/SelIText
00000082 6002 bra +0x4 /* 00000086 */
label00000084:
00000084 6002 bra +0x4 /* 00000088 */
label00000086:
00000086 6090 bra -0x6E /* 00000018 */
label00000088:
00000088 486E FF56 pea.l [A6 - 0xAA]
0000008C A982 syscall CloseDialog
0000008E 4E5E unlink A6
00000090 4E75 rts
00000092 596F 7520 subq.w [A7 + 0x7520], 4
00000096 6172 bsr +0x74 /* 0000010A */
00000098 6520 bcs +0x22 /* 000000BA */
0000009A 7375 moveq.l D1, 0x75
0000009C 7070 moveq.l D0, 0x70
0000009E 6F73 ble +0x75 /* 00000113 */
000000A0 6564 bcs +0x66 /* 00000106 */
000000A2 2074 6F20 6265 movea.l A0, [A4 + 0x6265 + D6 * 8]
000000A8 2061 movea.l A0, -[A1]
000000AA 2067 movea.l A0, -[A7]
000000AC 7572 moveq.l D2, 0x72
000000AE 7521 moveq.l D2, 0x21
000000B0 2020 move.l D0, -[A0]
000000B2 4E6F move A7, USP
000000B4 7720 moveq.l D3, 0x20
000000B6 646F bcc +0x71 /* 00000127 */
000000B8 2069 7420 movea.l A0, [A1 + 0x7420]
// begin alternate branch 000000BA-000000BC
label000000BA:
000000BA 7420 moveq.l D2, 0x20
// end alternate branch 000000BA-000000BC
label000000BA: // (misaligned)
000000BC 7269 moveq.l D1, 0x69
000000BE 6768 beq +0x6A /* 00000128 */
000000C0 742E moveq.l D2, 0x2E
000000C2 0000 .incomplete